﻿using System.ServiceModel;
using AOPDemo.Messages;

namespace AOPDemo.Interfaces
{
    [ServiceContract]
    public interface IBankingService
    {
        [OperationContract]
        GetAccountsResponse GetAccounts(GetAccountsRequest request);
        [OperationContract]
        SearchTransactionsResponse SearchTransactions(SearchTransactionsRequest request);
        [OperationContract]
        TransferResponse Transfer(TransferRequest request);
    }
}